package com.analyse.stock.vo;

import lombok.Data;

import java.io.Serializable;

/**
 * 股票市场数据
 */
@Data
public class MarketSentimentVO implements Serializable {

    private int upCount;           // 上涨家数
    private int downCount;         // 下跌家数
    private double mainNetFlow;    // 主力净流入资金（单位：亿）
    private double totalAmt;    // 当前总成交额（单位：亿）
    private double previousAmt; // 昨日总成交额（单位：亿）

    public MarketSentimentVO(){}

    public MarketSentimentVO(int upCount, int downCount,
                             double mainNetFlow, double totalAmt, double previousAmt) {
        this.upCount = upCount;
        this.downCount = downCount;
        this.mainNetFlow = mainNetFlow;
        this.totalAmt = totalAmt;
        this.previousAmt = previousAmt;
    }
}
